package org.neuedu.service;

import org.neuedu.bean.*;
import org.neuedu.dao.ArticleDao;
import org.neuedu.dao.ArticleDaoImpl;

public interface ArticleService {
    int articlePublish(Article article);
//加载首页信息,tid main文章标识符
    IndexLoader loadIndexInfo(Integer tid);


    // 根据id查询文章详情
    Detail getArticleDetailById(Integer id);
    //cid
    IndexLoader loadIndexInfoCid(Integer cid);

    IndexLoader getArticleById(Integer uid);
    //个人消息 文章部分
    Article getArticleDetailByUid(Integer uid);
//
    IndexLoader getarticleByCid(Integer uid);
}
